package com.ruoyi.cscec.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 设备管理对象 equipment
 *
 * @author ruoyi
 * @date 2021-09-26
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long eqId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String eqName;

    /** 所处位置 */
    @Excel(name = "所处位置")
    private String location;

    /** 施工单位 */
    @Excel(name = "施工单位")
    private String constructionUnit;

    /** 责任人 */
    @Excel(name = "责任人")
    private String director;

    /** 责任人电话 */
    @Excel(name = "责任人电话")
    private String directorPhone;

    /** 管理信息 */
    @Excel(name = "管理信息")
    private String manaInfo;

    /** 设备连接参数信息 */
    @Excel(name = "设备连接参数信息")
    private String connectParam;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Long eqStatus;

    private String flowRest;

    private List<EquipmentRepair> equipmentRepairList;

    public String getFlowRest() {
        return flowRest;
    }

    public void setFlowRest(String flowRest) {
        this.flowRest = flowRest;
    }

    public List<EquipmentRepair> getEquipmentRepairList() {
        return equipmentRepairList;
    }

    public void setEquipmentRepairList(List<EquipmentRepair> equipmentRepairList) {
        this.equipmentRepairList = equipmentRepairList;
    }

    public void setEqId(Long eqId)
    {
        this.eqId = eqId;
    }

    public Long getEqId()
    {
        return eqId;
    }
    public void setEqName(String eqName)
    {
        this.eqName = eqName;
    }

    public String getEqName()
    {
        return eqName;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setConstructionUnit(String constructionUnit)
    {
        this.constructionUnit = constructionUnit;
    }

    public String getConstructionUnit()
    {
        return constructionUnit;
    }
    public void setDirector(String director)
    {
        this.director = director;
    }

    public String getDirector()
    {
        return director;
    }
    public void setDirectorPhone(String directorPhone)
    {
        this.directorPhone = directorPhone;
    }

    public String getDirectorPhone()
    {
        return directorPhone;
    }
    public void setManaInfo(String manaInfo)
    {
        this.manaInfo = manaInfo;
    }

    public String getManaInfo()
    {
        return manaInfo;
    }
    public void setConnectParam(String connectParam)
    {
        this.connectParam = connectParam;
    }

    public String getConnectParam()
    {
        return connectParam;
    }
    public void setEqStatus(Long eqStatus)
    {
        this.eqStatus = eqStatus;
    }

    public Long getEqStatus()
    {
        return eqStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("eqId", getEqId())
                .append("eqName", getEqName())
                .append("location", getLocation())
                .append("constructionUnit", getConstructionUnit())
                .append("director", getDirector())
                .append("directorPhone", getDirectorPhone())
                .append("manaInfo", getManaInfo())
                .append("connectParam", getConnectParam())
                .append("eqStatus", getEqStatus())
                .toString();
    }
}
